package com.scpii.universal.hibernate.entity;

/**
 * AppIconTab entity. @author MyEclipse Persistence Tools
 */

public class AppIconTab extends BaseEntity implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = 1239508892603071623L;
	private Integer intIconId;
	private Integer intAppId;
	private String intIconName;
	private Byte intIconType;
	private String varIconUrl;
	private Integer intDeleteSign;
	private String datUpdateDatetime;
	private Integer intIconDefineType;

	// Constructors

	/** default constructor */
	public AppIconTab() {
	}

	/** full constructor */
	public AppIconTab(Integer intAppId, String intIconName, Byte intIconType,
			String varIconUrl, Integer intDeleteSign, String datUpdateDatetime,
			Integer intIconDefineType) {
		this.intAppId = intAppId;
		this.intIconName = intIconName;
		this.intIconType = intIconType;
		this.varIconUrl = varIconUrl == null ? varIconUrl : getServerUrl()
				+ varIconUrl;
		this.intDeleteSign = intDeleteSign;
		this.datUpdateDatetime = datUpdateDatetime;
		this.intIconDefineType = intIconDefineType;
	}

	public AppIconTab(Integer intIconId, String intIconName, String varIconUrl) {
		this.intIconId = intIconId;
		this.intIconName = intIconName;
		this.varIconUrl = varIconUrl == null ? varIconUrl : getServerUrl()
				+ varIconUrl;
	}

	public AppIconTab(String varIconUrl) {
		this.varIconUrl = varIconUrl == null ? varIconUrl : getServerUrl()
				+ varIconUrl;
	}

	// Property accessors

	public Integer getIntIconId() {
		return this.intIconId;
	}

	public void setIntIconId(Integer intIconId) {
		this.intIconId = intIconId;
	}

	public Integer getIntAppId() {
		return this.intAppId;
	}

	public void setIntAppId(Integer intAppId) {
		this.intAppId = intAppId;
	}

	public String getIntIconName() {
		return this.intIconName;
	}

	public void setIntIconName(String intIconName) {
		this.intIconName = intIconName;
	}

	public Byte getIntIconType() {
		return this.intIconType;
	}

	public void setIntIconType(Byte intIconType) {
		this.intIconType = intIconType;
	}

	public String getVarIconUrl() {
		return this.varIconUrl;
	}

	public void setVarIconUrl(String varIconUrl) {
		this.varIconUrl = varIconUrl;
	}

	public Integer getIntDeleteSign() {
		return this.intDeleteSign;
	}

	public void setIntDeleteSign(Integer intDeleteSign) {
		this.intDeleteSign = intDeleteSign;
	}

	public String getDatUpdateDatetime() {
		return this.datUpdateDatetime;
	}

	public void setDatUpdateDatetime(String datUpdateDatetime) {
		this.datUpdateDatetime = datUpdateDatetime;
	}

	public Integer getIntIconDefineType() {
		return this.intIconDefineType;
	}

	public void setIntIconDefineType(Integer intIconDefineType) {
		this.intIconDefineType = intIconDefineType;
	}

}